package com.cloud.flowable.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(name = "流程定义视图VO", description = "流程管理")
public class WfDefinitionVo {

    private static final long serialVersionUID = 1L;

    @Schema(description = "流程定义ID")
    @Excel(name = "流程定义ID")
    private String definitionId;

    @Schema(description = "流程名称")
    @Excel(name = "流程名称")
    private String processName;

    @Schema(description = "流程Key")
    @Excel(name = "流程Key")
    private String processKey;

    @Schema(description = "分类编码")
    @Excel(name = "分类编码")
    private String category;

    @Schema(description = "分类名称")
    @Excel(name = "分类名称")
    private String categoryName;

    @Schema(description = "版本")
    @Excel(name = "版本")
    private Integer version;

    @Schema(description = "表单ID")
    @Excel(name = "表单ID")
    private Long formId;

    @Schema(description = "表单名称")
    @Excel(name = "表单名称")
    private String formName;

    @Schema(description = "部署ID")
    @Excel(name = "部署ID")
    private String deploymentId;

    @Schema(description = "流程是否挂起")
    @Excel(name = "流程是否挂起")
    private Boolean suspended;

    @Schema(description = "部署时间")
    @Excel(name = "部署时间")
    private Date deploymentTime;

}
